import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

/**
 * @Author wywinstonwy
 * @Date 2022/1/10 9:14 上午
 * @Description:
 */

class NavigatorUtil{
  static push(BuildContext context,Widget page){
    Navigator.push(context, MaterialPageRoute(builder: (context)=>page));
  }
  static pop(BuildContext context){
    Navigator.pop(context);
  }
}